interface ILengthwise {
    length: number;
}

const loggingIdentity = <T extends ILengthwise>(arg: T) : T => {
    console.log(arg.length);
    return arg
}

export default loggingIdentity;